import sys
import symbide

if sys.version_info[1] < 4:
    print "Sympy requires Python 2.4 or newer. Python %d.%d detected" % \
          sys.version_info[:2]
    sys.exit(-1)
    
try:
    import py as pylib
except ImportError:
    print """In order to run the tests, you need codespeak's py.lib
    web page: http://codespeak.net/py/dist/
    If you are on debian systems, the package is named python-codespeak-lib
    """
    sys.exit(-1)

pylib.test.cmdline.main(args=["symbide"])
